A well-known representation of monoids and its application to the function ‘vector reverse’
نویسندگان
چکیده
Abstract Vectors—or length-indexed lists—are classic example of a dependent type. Yet, most tutorials stay clear any function on vectors whose definition requires non-trivial equalities between natural numbers to type check. This pearl shows how write functions, such as vector reverse, that rely monoidal be correct without having additional proofs. These techniques can applied many other functions over types indexed by monoid, written using an accumulating parameter, and even used decide arbitrary monoids ‘for free.’
منابع مشابه
construction and validation of translation metacognitive strategy questionnaire and its application to translation quality
like any other learning activity, translation is a problem solving activity which involves executing parallel cognitive processes. the ability to think about these higher processes, plan, organize, monitor and evaluate the most influential executive cognitive processes is what flavell (1975) called “metacognition” which encompasses raising awareness of mental processes as well as using effectiv...
extraction and characterization of allium irancum plant extract and its application in the green synthesis of silver nano particles and oxidation of thiocarbony1 compounds
سنتز سبز نانوذرات فلزی (nps) درسالهای اخیر توجه بسیارزیادی را به خود جلب کرده است. زیرا این پروتوکل کم هزینه وسازگار با محیط زیست از روش های استاندارد سنتز. در این پایان نامه ما گزارش میکنیم یک روش ساده و سازگار با محیط زیست برای سنتز نانوذرات نقره با استفاده از محلول آبی عصاره گیاه allium iranicum به عنوان یک عامل کاهش دهنده ی طبیعی. نانو ذرات نقره مشخص شد با استفاده از تکنیک های uv-visible، x...
a synchronic and diachronic approach to the change route of address terms in the two recent centuries of persian language
terms of address as an important linguistics items provide valuable information about the interlocutors, their relationship and their circumstances. this study was done to investigate the change route of persian address terms in the two recent centuries including three historical periods of qajar, pahlavi and after the islamic revolution. data were extracted from a corpus consisting 24 novels w...
15 صفحه اولHorizontal representation of a hesitant fuzzy set and its application to multiple attribute decision making
The main aim of this paper is to present a novel method for ranking hesitant fuzzy sets (HFSs) based on transforming HFSs into fuzzy sets (FSs). The idea behind the method is an interesting HFS decomposition which is referred here to as the horizontal representation in the current study. To show the validity of the proposed ranking method, we apply it to solve a multi-attribute decision-making ...
متن کاملthe innovation of a statistical model to estimate dependable rainfall (dr) and develop it for determination and classification of drought and wet years of iran
آب حاصل از بارش منبع تأمین نیازهای بی شمار جانداران به ویژه انسان است و هرگونه کاهش در کم و کیف آن مستقیماً حیات موجودات زنده را تحت تأثیر منفی قرار می دهد. نوسان سال به سال بارش از ویژگی های اساسی و بسیار مهم بارش های سالانه ایران محسوب می شود که آثار زیان بار آن در تمام عرصه های اقتصادی، اجتماعی و حتی سیاسی- امنیتی به نحوی منعکس می شود. چون میزان آب ناشی از بارش یکی از مولفه های اصلی برنامه ...
15 صفحه اولذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of Functional Programming
سال: 2022
ISSN: ['0956-7968', '1469-7653']
DOI: https://doi.org/10.1017/s0956796822000065